package com.kaikeba.springmvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class HelloController {
	
	@RequestMapping("/showview")
	public String showview(){
		return "hello";
	}
	
	@RequestMapping(value="/showData")
	@ResponseBody
	public String showData(){
		return "showdata";
	}

}
